body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: 400 16px/1.5 PingFangSC-regular,Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    -moz-user-select: none;
    /* height: 2000px; */
}
a {
    text-decoration: none;
    color: #222;
}
div {
    box-sizing: border-box;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* 搜索模块 */
.search-index {
    display: flex;
    /* 固定定位跟父级没有关系 它以屏幕为准 */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 固定的盒子必须有宽度 */
    width: 100%;
    min-width: 320px;
    max-width: 540px;
    height: 44px;
    /* background-color: pink; */
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search-index input {
    position: relative;
    height: 26px;
    border: 1px solid #ccc;
    flex: 1;
    font-size: 12px;
    color: #666;
    line-height: 24px;
    padding-left: 25px;
    margin: 7px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    outline: none;
}
.search-index::before {
    z-index: 1;
    content: "";
    position: absolute;
    top: 13px;
    left: 16px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
    
}
.user {
    width: 44px;
    height: 44px;
    /* background-color: purple; */
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto -2px;

}
/* focus焦点图模块 */

.focus {
    position: relative;
    padding-top: 44px;
    overflow: hidden;
}

.focus img {
    width: 100%;
}

.focus ul {
    overflow: hidden;
    width: 500%;
    margin-left: -100%;
}

.focus ul li {
    float: left;
    width: 20%;
}

.focus ol {
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: 0;
}

.focus ol li {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #fff;
    list-style: none;
    border-radius: 2px;
    transition: all .3s;
}

.focus ol li.current {
    width: 15px;
}
/* 局部导航栏模块 */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;
}
.local-nav li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    /* 单行侧轴居中对齐 */
    align-items: center;
    font-size: 12px;
}
ul li a span[class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    /* background-color: pink; */
    margin-top: 8px;
    
    background-size: 32px auto;
}
.local-nav-icon1 {
    background: url(../images/localnav_bg.png) no-repeat 0 0;
}
.local-nav-icon2 {
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
}
.local-nav-icon3{
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
}
.local-nav-icon4{
    background: url(../images/localnav_bg.png) no-repeat 0 -96px;
}
.local-nav-icon5{
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
}
/* 主导航栏nav模块 */
nav {
    /* 这里给的父盒子nav小圆角，但是子盒子div没给，会把父盒子撑开 */
    border-radius: 8px;
    margin: 0 4px 3px;
    /* 解决方法：给父盒子一个overflow：hidden，把撑开的部分隐藏 */
    overflow: hidden;
}
.nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}
.nav-common:nth-child(2) {
    margin: 3px 0;
}
.nav-items {
    /* 不冲突的这里 */
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 14px;
    /* 文字阴影 */
    text-shadow: 1px 1px rgba(0,0,0,0.2);
}
.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
.hotel {
    border: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.plane {
    border: 0;
    background: url(../images/plane.png) no-repeat bottom center;
    background-size: 94px auto;
}
.trip {
    border: 0;
    background: url(../images/trip.png) no-repeat bottom center;
    background-size: 94px auto;
}



/* 选择前面俩个盒子 */
.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left,#FA5A55,#FA994D);
}
.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left,#4B90ED,#53BCED);
}
.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left,#34c2a9,#6CD559);
}
/* 侧导航栏模块 */
.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    padding: 5px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.subnav-entry li {
    /* 里面的子盒子可以写百分比，相对于父级宽度来说的 */
    flex: 20%;
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
ul li a span[class^="subnav-entry-icon"] {
    width: 28px;
    height: 28px;
    /* background-color: pink; */
    margin-top: 4px;
    
    background-size: 28px auto;
}
.subnav-entry-icon1 {
    background: url(../images/subnav-bg.png) no-repeat 0 0;
}
.subnav-entry-icon2 {
    background: url(../images/subnav-bg.png) no-repeat 0 -28px;
}
.subnav-entry-icon3 {
    background: url(../images/subnav-bg.png) no-repeat 0 -62px;
}
.subnav-entry-icon4 {
    background: url(../images/subnav-bg.png) no-repeat 0 -96px;
}
.subnav-entry-icon5 {
    background: url(../images/subnav-bg.png) no-repeat 0 -126px;
}
.subnav-entry-icon6 {
    background: url(../images/subnav-bg.png) no-repeat 0 -160px;
}
.subnav-entry-icon7 {
    background: url(../images/subnav-bg.png) no-repeat 0 -196px;
}
.subnav-entry-icon8 {
    background: url(../images/subnav-bg.png) no-repeat 0 -226px;
}
.subnav-entry-icon9 {
    background: url(../images/subnav-bg.png) no-repeat 0 -255px;
}
.subnav-entry-icon10 {
    background: url(../images/subnav-bg.png) no-repeat 0 -285px;
}
/* 销售模块sales-box */
.sales-box {
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}
.sales-hd {
    position: relative;
    height: 44px;
    border: 1px solid #ccc;
    
}
.sales-hd h2 {
    position: relative;
    top: -7px;
    text-indent: -9999px;
    overflow: hidden;
}
.sales-hd h2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sales-hd span {
    position: absolute;
    top: 12px;
    left: 100px;
}
.more {
    position: absolute;
    right: 5px;
    top: 9px;
    background: -webkit-linear-gradient(left,#FF506C,#FF6BC6);
    border-radius: 10px;
    padding: 3px 20px 3px 10px;
    font-size: 12px;
    color: #fff;
}
.more::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.row {
    display: flex;
}
.row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1) {
    border-right: 1px solid #eee;
}
.row a img {
    width: 100%;
}
/* 底部footer模块 */
.tool-box {
    height: 124px;
}
.tool-cn {
    position: fixed;
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    bottom: 0px;
    height: 61px;
    display: flex;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}
.tool-cn a {
    flex: 1;
    display: flex;
    color: #333;
    font-size: 12px;
    
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tool-cn a span[class^="tool-icon"] {
    width: 20px;
    height: 20px;
    background-size: 104px auto;
    margin-bottom: 2px;
}
.tool-icon1 {
    background: url(../images/sprite.png) -58px -153px;
}
.tool-icon2 {
    background: url(../images/sprite.png) -59px -174px;
}
.tool-icon3 {
    background: url(../images/sprite.png) -59px -310px;
}

.tool-ver {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}
.tool-ver a {
    padding: 0;
    
    color: #666;   
}
.global {
    display: inline-block;
    width: 12px;
    height: 12px;
    /* background-color: blue; */
    background: url(../images/global.png) no-repeat 0 -159px;
    background-size: 30px auto;
}
.triangle {
    display: inline-block;
    border: 1px solid #666;
    border-width: 0 1px 1px 0;
    width: 5px;
    height: 5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    vertical-align: 2px;
    margin: 0 3px;
}